<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta name="author" content="中文Lee 360811363@qq.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../css/public.css" media="all">
    <!--
    * [LupMisAllowedSync]
    * 本代码为系统自动生成代码，请根据自己业务进行修改;
    * 生成时间 2022-02-20 17:19:21;
    * 版权所有 2020-2022 lizhongwen，并保留所有权利;
    * 说明: 这不是一个自由软件！您只能在不用于商业目的的前提下对程序代码进行修改和使用；不允许对程序代码以任何形式任何目的的再发布;
    * 作者: 中文Lee;
    * 作者主页: http://www.lizhongwen.com;
    * 邮箱: 360811363@qq.com;
    * QQ: 360811363;
    -->
</head>

<body>
    <div class="layuimini-container">
        <div class="layuimini-main">
            <div>
                <form class="layui-form search-box" action="">
                    <div class="layui-inline">
                        <input name="ori_name" placeholder="原始名称" data-check-type="none" range="" sp-start-end="" class="layui-input " autocomplete="off">
                    </div>
                    <div class="layui-inline">
                        <input name="suffix" placeholder="后缀" data-check-type="none" range="" sp-start-end="" class="layui-input " autocomplete="off">
                    </div>
                    <div class="layui-inline">
                        <input name="file_name" placeholder="服务器端名" data-check-type="none" range="" sp-start-end="" class="layui-input " autocomplete="off">
                    </div>
                    <div class="layui-inline">
                        <input name="upload_time" placeholder="上传时间" readonly data-check-type="ymdhis" range="~" sp-start-end="" class="layui-input datetime" autocomplete="off">
                        <input type="hidden" name="upload_time_between_start">
                        <input type="hidden" name="upload_time_between_end">
                    </div>
                    <div class="layui-inline">
                        <input name="account" placeholder="上传者账号" data-check-type="none" range="" sp-start-end="" class="layui-input " autocomplete="off">
                    </div>
                    <div class="layui-inline">
                        <input name="remarks" placeholder="备注" data-check-type="none" range="" sp-start-end="" class="layui-input " autocomplete="off">
                    </div>
                    <div class="layui-inline">
                        <button type="submit" class="layui-btn" lay-submit lay-filter="data-search-btn">搜 索</button>
                    </div>
                </form>
            </div>
            <table class="layui-hide" id="data-list" lay-filter="data-list"></table>
        </div>
    </div>
    <script src="../../../js/run.js"></script>
    <script type="text/javascript">
        $init(function() {



            initCalendar();
            pageInit(function(pageInfo, toolbarHtml) {
                var jump = pageInfo.jump;
                var queryUrl = pageInfo.query_url;
                var tableName = pageInfo.table_name;
                var cols = [{
                    type: "checkbox"
                }, {
                    field: "system_serial_number",
                    title: "序号",
                    width: 60,
                    sort: true,
                    align: "center",
                    type: "numbers"
                }, {
                    field: "id",
                    title: "ID",
                    hide: true,
                    width: 100,
                    sort: true,
                    align: "left"
                }, {
                    field: "ori_name",
                    title: "原始名称",
                    sort: true,
                    align: "left"
                }, {
                    field: "file_path",
                    title: "根路径",
                    sort: true,
                    align: "left"
                }, {
                    field: "suffix",
                    title: "后缀",
                    sort: true,
                    width: 60,
                    align: "left"
                }, {
                    field: "file_name",
                    title: "服务器端名",
                    sort: true,
                    align: "left"
                }, {
                    field: "file_url",
                    title: "访问路径",
                    sort: true,
                    width: 80,
                    align: "left",
                    templet: function(d) {
                        return listUpload(d.id + "_file_url", d.file_url, "")
                    }
                }, {
                    field: "server_path",
                    title: "服务器保存路径",
                    sort: true,
                    align: "left"
                }, {
                    field: "thumb",
                    title: "缩略图",
                    sort: true,
                    align: "left",
                    templet: function(d) {
                        return listUpload(d.id + "_thumb", d.thumb, "")
                    }
                }, {
                    field: "file_size",
                    title: "大小",
                    sort: true,
                    width: 80,
                    align: "left"
                }, {
                    field: "upload_time",
                    title: "上传时间",
                    sort: true,
                    width: 140,
                    align: "left",
                    templet: function(d) {
                        return dateFormat(d.upload_time)
                    }
                }, {
                    field: "account",
                    title: "上传者",
                    sort: true,
                    width: 100,
                    align: "left"
                }, {
                    field: "remarks",
                    title: "备注",
                    sort: true,
                    align: "left"
                }];
                loadData(base_gateway + queryUrl, cols, toolbarHtml);
                // 监听搜索操作
                doSearch();
                //监听操作事件(添加 删除 编辑)
                toolbarTap(function(data, pars, event) {
                    //自定义js Tap回调

                });
                //监听单元格编辑
                tableEdit(tableName);
            });
        });
    </script>
</body>

</html>